<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/1 0001
 * Time: 20:40
 */
//$a = 0;
//$b = 5;
//var_dump(~$b); -6
//$a ='1z9';
//$a =++$a;
//var_dump($a);//2a0
$a = '2d';
var_dump((integer)$a);